Skip to content

fix(docs): Update our version page to have good redirects#3462

Merged
vprothais merged 4 commits intoouds/mainfrom
ouds/main-lmp-fix-versions
Apr 27, 2026
Merged

fix(docs): Update our version page to have good redirects#3462
vprothais merged 4 commits intoouds/mainfrom
ouds/main-lmp-fix-versions

Conversation

@louismaximepiton
Copy link
Copy Markdown
Member

@louismaximepiton louismaximepiton commented Mar 19, 2026

Related issues

NA

Description

The version page had bad redirects (0.6 stays 404, but it's 0.x version 🤷)

Checklists

Progression (for Core Team only)

Live previews

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 19, 2026

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit af21184
🔍 Latest deploy log https://app.netlify.com/projects/boosted/deploys/69ef7971e41283000847fb33
😎 Deploy Preview https://deploy-preview-3462--boosted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Collaborator

@MaxLardenois MaxLardenois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not absolutely sure I could test correctly but looks ok so let's try

@boosted-bot boosted-bot moved this from Need Dev Review to Need Lead Dev Review in 🟣 [Orange-Boosted-Bootstrap] PRs Board Apr 15, 2026
Copilot AI review requested due to automatic review settings April 27, 2026 13:28
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to fix the documentation “versions” page navigation/redirect behavior so users hitting non-branded URLs and version links land on the correct branded documentation paths.

Changes:

  • Added a /docs/versions page that redirects to /<brand>/docs/versions/.
  • Updated the branded versions page to inject the current brand into version links when the data URL contains a [brand] placeholder.
  • Updated the v1.x docs versions base URL to include a [brand] segment.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
site/src/pages/docs/versions.astro Adds a redirect from the non-branded versions route to the branded versions route.
site/src/pages/[brand]/docs/versions.astro Updates version link generation to replace [brand] in baseurl with getConfig().brand.
site/data/docs-versions.yml Adjusts the v1.x base URL to include a [brand] placeholder.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread site/data/docs-versions.yml
@vprothais vprothais enabled auto-merge (squash) April 27, 2026 14:59
@vprothais vprothais merged commit c7580ea into ouds/main Apr 27, 2026
10 of 11 checks passed
@vprothais vprothais deleted the ouds/main-lmp-fix-versions branch April 27, 2026 15:02
@github-project-automation github-project-automation Bot moved this from Need Lead Dev Review to Done in 🟣 [Orange-Boosted-Bootstrap] PRs Board Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💪 contribution 📖 documentation Improvements or additions to documentation fix

Projects

Development

Successfully merging this pull request may close these issues.

5 participants